package com.example.Mapper;

import com.example.pojo.LogInfo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface LogMapper {


    @Insert("insert into url_logs (log_type, request_params, start_time, server_address) VALUES " +
            "(#{LogType},#{RequestParams},#{StartTime},#{ServerAddress})")
    void insert(LogInfo logInfo);
}
